package com.audible.library.view.backing;

import java.io.Serializable;
import javax.inject.Named;

/**
 * The object of this class represents a book. It is a view bean used for rendering purpose.
 * I guess this could be an abstract class.
 *
 * @author Jigar Shah
 * @version 0.1
 */
@Named
public class Book implements Serializable {
    
    private static final long serialVersionUID = -6583138114507776515L;

    private String title;
    private String author;

    public Book() {
    }

    /**
     * @return the title
     */
    public String getTitle() {
        return title;
    }

    /**
     * @param title the title to set
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * @return the author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * @param author the author to set
     */
    public void setAuthor(String author) {
        this.author = author;
    }
}
